package 枚举;

/**
 * 枚举要有固定对象的数量，并且都是默认常量修饰
 */
public enum Season {
   // 枚举的对象创建方法相当于：
    //public  static final Season SPRING =new Season("春天","牛逼");
    /**
     * 固定对象的数量
     */
    SPRING("春天","牛逼"),
    SUMMER("春天","牛逼"),
    AUTUMN("春天","牛逼"),
    WINTER("春天","牛逼");



    private String seasonName;
    private String seasonData;

    Season(String seasonName, String seasonData) {
        this.seasonName = seasonName;
        this.seasonData = seasonData;
    }

    public String getSeasonName() {
        return seasonName;
    }

    public void setSeasonName(String seasonName) {
        this.seasonName = seasonName;
    }

    public String getSeasonData() {
        return seasonData;
    }

    public void setSeasonData(String seasonData) {
        this.seasonData = seasonData;
    }
}
